package aex.domain;

import java.sql.Timestamp;

/**
 * CommentMedicines entity. @author MyEclipse Persistence Tools
 */

public class CommentMedicines implements java.io.Serializable {

	// Fields

	private Integer cmId;
	private Puser puser;
	private Medicines medicines;
	private String cmContent;
	private Integer cmEffect;
	private Integer cmSafe;
	private Integer cmPice;
	private Timestamp cmTime;

	// Constructors

	/** default constructor */
	public CommentMedicines() {
	}

	/** minimal constructor */
	public CommentMedicines(Integer cmId) {
		this.cmId = cmId;
	}

	/** full constructor */
	public CommentMedicines(Integer cmId, Puser puser, Medicines medicines,
			String cmContent, Integer cmEffect, Integer cmSafe, Integer cmPice,
			Timestamp cmTime) {
		this.cmId = cmId;
		this.puser = puser;
		this.medicines = medicines;
		this.cmContent = cmContent;
		this.cmEffect = cmEffect;
		this.cmSafe = cmSafe;
		this.cmPice = cmPice;
		this.cmTime = cmTime;
	}

	// Property accessors

	public Integer getCmId() {
		return this.cmId;
	}

	public void setCmId(Integer cmId) {
		this.cmId = cmId;
	}

	public Puser getPuser() {
		return this.puser;
	}

	public void setPuser(Puser puser) {
		this.puser = puser;
	}

	public Medicines getMedicines() {
		return this.medicines;
	}

	public void setMedicines(Medicines medicines) {
		this.medicines = medicines;
	}

	public String getCmContent() {
		return this.cmContent;
	}

	public void setCmContent(String cmContent) {
		this.cmContent = cmContent;
	}

	public Integer getCmEffect() {
		return this.cmEffect;
	}

	public void setCmEffect(Integer cmEffect) {
		this.cmEffect = cmEffect;
	}

	public Integer getCmSafe() {
		return this.cmSafe;
	}

	public void setCmSafe(Integer cmSafe) {
		this.cmSafe = cmSafe;
	}

	public Integer getCmPice() {
		return this.cmPice;
	}

	public void setCmPice(Integer cmPice) {
		this.cmPice = cmPice;
	}

	public Timestamp getCmTime() {
		return this.cmTime;
	}

	public void setCmTime(Timestamp cmTime) {
		this.cmTime = cmTime;
	}

}